<template>
	<view class="follow">

		<u-navbar title="跟进22" leftIcon='' safeAreaInsetTop fixed placeholder>
		</u-navbar>
		
		<u-tabs class="uTabsClass" :list="listTop"></u-tabs>

		<scroll-view v-show="current==0" scroll-y style="height: 100%;width: 100%;">
			<view class="viewWrap">
				<view class="page-box" id="tabInList">
					<view class="order" v-for="(res, index) in goods" :key="index">
						<view class="top">
							<view class="left">
								<u-icon name="star" color="#ff9900"></u-icon>
								<view class="store">刘海涛{{index}}</view>
								<u-tag text="一般意向" size='mini' type="primary" class="activeClass" plain />
								<u-tag text="问询" size='mini' type="primary" class="activeClass" plain />

							</view>
							<view class="right">
								<u-icon @click="clickPhone" name="phone-fill" color="#19be6b">
								</u-icon>
								<u-icon class="u-margin" name="more-dot-fill" color="#303133">
								</u-icon>
							</view>
						</view>

						<view class="centers">

							<view class="textName">18738161475</view>
							<u-tag text="来访客户" size='mini' type="info" plain />
						</view>
						<view class="bottom u-flex u-row-between u-margin-top-30">
							<view class="left">
								<view class="u-tips-color">2021.12.08 主动电访</view>
							</view>

							<view class="u-tips-color">
								高
							</view>

						</view>


					</view>



				</view>

			</view>
		</scroll-view>


	</view>
</template>

<script>
	export default {
		data() {
			return {
				listTop: [{
						name: '客户列表'
					},
					{
						name: '客户分析'
					}
				],
				goods: [1, 2, 3, 4, 55, 6, 78, 8, 99, , 900, 111],
				current: 0
			}
		},
		components: {

		},

		onPullDownRefresh() {
			console.log('refresh');
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		onLoad() {






		},




		methods: {
			click(item) {
				console.log('item', item);
				this.current = item.index
			},

		}
	}
</script>


<style lang="scss">
	page {
		background-color: #fff;
	}
</style>
<style lang="scss" scoped>
	.uTabsClass {
		position: fixed;
		left: 0;
		right: 0;
		top:44px;
		z-index: 1100;
	}
</style>
